/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core.messages.client.inGame;
import core.messages.Msg_One;

/**
 *客户端发送，表示弃牌的消息
 * @author Invince
 */
public class Msg_Card_Drop extends Msg_One{
/*----------Attributs-------------------*/
    /**
     * 牌的id，之后到DataBase的牌的索引里去查询
     */
    protected int idCard;
    //protected int indexDeck;//？？？？？弃装备什么的也可以重复利用这个消息
/*----------Public functions------------*/
/*----------Private functions-----------*/
/*----------Constructor-----------------*/
    public Msg_Card_Drop(String sender, String receiver,int idCard) {
        super(sender, receiver);
        this.idCard=idCard;
    }
    
/*----------Gets and sets---------------*/
    public int getIdCard() {
        return idCard;
    }

    public void setIdCard(int idCard) {
        this.idCard = idCard;
    }

}
